import request from '@/utils/request'

/**
* 工位验证分页查询
* @param {查询条件} data
*/
export function listStationVerificationConfig(query) {
  return request({
    url: 'production/stationverificationconfig/list',
    method: 'get',
    params: query,
  })
}

/**
* 新增工位验证
* @param data
*/
export function addStationVerificationConfig(data) {
  return request({
    url: 'production/stationverificationconfig',
    method: 'post',
    data: data,
  })
}
/**
* 修改工位验证
* @param data
*/
export function updateStationVerificationConfig(data) {
  return request({
    url: 'production/stationverificationconfig',
    method: 'PUT',
    data: data,
  })
}
/**
* 获取工位验证详情
* @param {Id}
*/
export function getStationVerificationConfig(id) {
  return request({
    url: 'production/stationverificationconfig/' + id,
    method: 'get'
  })
}

/**
* 删除工位验证
* @param {主键} pid
*/
export function delStationVerificationConfig(pid) {
  return request({
    url: 'production/stationverificationconfig/delete/' + pid,
    method: 'delete'
  })
}
